﻿namespace TfsExtensions.Helper.Configuration
{
    using System.Configuration;

    /// <summary>
    /// Defines Configuration Section Details for DeploymentFrameworkConfiguration Section.
    /// Defines Exception Handling Plociy etc for Deployment Framework
    /// </summary>
    public class DeploymentFrameworkConfigurationSection : ConfigurationSection
    {
        #region Properties 

        /// <summary>
        /// Gets the 'ExceptionHandlingPolicy' element
        /// </summary>
        /// <value>The exception handling policy.</value>
        [ConfigurationProperty("ExceptionHandlingPolicy", DefaultValue = null)]
        public ExceptionHandlingPolicyElement ExceptionHandlingPolicy
        {
            get { return (ExceptionHandlingPolicyElement) base["ExceptionHandlingPolicy"]; }
        }

        #endregion
    }
}